package com.king.student.entity;

public class Student {

	private String studentID;
	private String studentName;
	private int studentSex;
	private String studentBirthday;
	private String classID;
	public String getStudentID() {
		return studentID;
	}
	public void setStudentID(String studentID) {
		this.studentID = studentID;
	}
	public String getStudentName() {
		return studentName;
	}
	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}
	public int getStudentSex() {
		return studentSex;
	}
	public void setStudentSex(int studentSex) {
		this.studentSex = studentSex;
	}
	public String getStudentBirthday() {
		return studentBirthday;
	}
	public void setStudentBirthday(String studentBirthday) {
		this.studentBirthday = studentBirthday;
	}
	public String getClassID() {
		return classID;
	}
	public void setClassID(String classID) {
		this.classID = classID;
	}
	@Override
	public String toString() {
		return "学号：" + studentID + ", 姓名：" + studentName + ", 性别：" + (studentSex==0?"男":"女")
				+ ", 生日：" + studentBirthday + ", 班级编号：" + classID;
	}
}
